package com.javafactroy.kunlong.bip.icp.context.connpool.ftpclient;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration
@ConfigurationProperties("ftp-client")
@Data
@PropertySource(value="classpath:ftpClient.properties")
public class FTPConfig{
    private String host;
    private int port;
    private String username;
    private String password;
    private Boolean passiveMode;
    private String encoding;
    private int clientTimeout;
    private int threadNum;
    private int transferFileType;
    private Boolean renameUploaded;
    private int retryTimes;
    private int bufferSize;
    private String workingDirectory;


}

